public class test5{
	public static void main(String[] args){

		for(int i =0;i<17;i++)
		{
			for(int j=0;j<17;j++)
			{
				if(0==i+j)
				{
					System.out.print(" ");
				}
				else if(0==i*j)
				{
					System.out.print(Integer.toHexString(i+j-1));
				}
				else
				{
					System.out.print("+");
				}
				System.out.print("\t");
			}
			System.out.println();
		}
	}
}